/**
 * MCAddDownloadFile.java
 */
package commands.model;
import dataTypes.File;

/**
 * Request to add a file to the list of download files
 * @author Michal Kolodziejski
 */
public class MCAddDownloadFile extends ModelCommand {
	/** A file requested to be added to the list of download files. */
	private File file;
	
	
	/**
	 * Constructor
	 * @param file a file requested to be added to the list of download files
	 */
	public MCAddDownloadFile(File file){
		super(ModelCommandType.ADD_DOWNLOAD_FILE);
		this.file = file;
	}

	/**
	 * @return the file requested to be added to the list of download files
	 */
	public File getFile() {
		return file;
	}
	
}
